package xyz.constasj.devicejsongenerator;

import android.os.Build;
import android.provider.Settings;

public class deviceJSON {
    public String display;
    public String product;
    public String device;
    public String brand;
    public String model;
    public String finger_print;
    public String boot_id;
    public String proc_version;
    public int protocol;
    public String imei;
    public String brand;
    public String bootloader;
    public String base_band = "";
    public String version.incremental = Build.VERSION.INCREMENTAL;
    JSONObj.version.release = Build.VERSION.RELEASE;
    JSONObj.version.codename = Build.VERSION.CODENAME;
    JSONObj.version.sdk = Build.VERSION.SDK_INT;
    JSONObj.sim_info = tm.getSimOperatorName();
    JSONObj.os_type = "android";
    JSONObj.mac_address = wi.getMacAddress();
    JSONObj.ip_address = parseIP(ipAdd);
    JSONObj.wifi_bssid = wi.getBSSID();
    JSONObj.wifi_ssid = wi.getSSID();
    JSONObj.imsi_md5 = stringToMD5(tm.getSubscriberId());
    JSONObj.android_id = Settings.System.getString(getContentResolver(), Settings.Secure.ANDROID_ID);
    JSONObj.apn = "wifi";
    JSONObj.vendor_name = Build.MANUFACTURER;
    JSONObj.vendor_os_name = System.getProperty("os.name");
}
